package Controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class EnterController
 */
@Controller
public class StudentRegisterController extends HttpServlet {
	@RequestMapping("/studentRegister")
	protected void handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
			// TODO Auto-generated method stub
			//response.sendRedirect("WEB-INF/jsp/login.jsp");		
			request.getRequestDispatcher("WEB-INF/jsp/studentRegister.jsp").forward(request, response);
	}
}
